package com.yfp.machine.service.impl;

import com.yfp.machine.domain.Company;
import com.yfp.machine.mapper.CompanyMapper;
import com.yfp.machine.service.CompanyService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * 公司表(Company)表服务实现类
 *
 *
 * @since 2023-12-20 14:50:14
 */
@Service("companyService")
public class CompanyServiceImpl implements CompanyService {
    @Resource
    private CompanyMapper companyMapper;

    @Override
    public List<String> querySubsidiaryInformation(String companyId) {
        return this.companyMapper.querySubsidiaryInformation(companyId);
    }

    public Company queryById(String companyId) {
        return this.companyMapper.queryById(companyId);
    }
}
